using System;
using System.Collections.Generic;
using System.Text;

namespace GraphAlgsPresentation.Core
{
    public delegate void AlarmEventHandler(object sender, AlarmEventArgs e);

    /// <summary>
    /// The class provides information for alarm event
    /// </summary>
    public class AlarmEventArgs:EventArgs
    {
        private string message;

        /// <summary>
        /// Gets the message.
        /// </summary>
        /// <value>The message.</value>
        public string Message
        {
            get { return message; }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AlarmEventArgs"/> class.
        /// </summary>
        /// <param name="message">The message.</param>
        public AlarmEventArgs(string message)
        {
            this.message = message;
        }
    }
}
